package cn.dkk.structure_design.adapter.class_adpter;

import cn.dkk.structure_design.adapter.pojo.Computer;

/**
 * @author dkk
 * @date 2022/7/10
 * @desc
 */
public class Test {

    public static void main(String[] args) {
        Computer computer = new Computer();
        CDAdApterTF cdAdApterTF = new CDAdApterTF();
        cdAdApterTF.TFWrite("写入一条数据到TF卡");
        System.out.println(computer.readSDCard(cdAdApterTF));
    }

}
